package com.csw.spring;

import com.csw.spring.config.AppConfig;
import com.csw.spring.context.CswApplicationContext;
import com.csw.spring.service.impl.UserServiceImpl;

public class Test {

    public static void main(String[] args) {
        CswApplicationContext context = new CswApplicationContext(AppConfig.class);
        UserServiceImpl userService = (UserServiceImpl) context.getBean("userServiceImpl");
        System.out.println(userService.test());
    }
}
